/*
 * InitTablesService
 * 
 */
package edu.depaul.se.courseregistration.webservice;

import edu.depaul.se.courseregistration.sessionbean.InitTablesSession;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;

/**
 *
 * @author lmarco
 */
//@WebService(serviceName = "InitTablesService")
@Stateless()
public class InitTablesService {

    @EJB
    private InitTablesSession initTablesSession; 
    @WebMethod(operationName = "InitTables")
    public void InitTables (){
      initTablesSession.initDB();  
    }
    @WebMethod(operationName = "ClearTables")
    public void ClearTables (){
      initTablesSession.clearDB();  
    }
}
